package com.ruoyi.mall.app.service.impl;


import com.ruoyi.mall.app.service.DtsBrandService;
import com.ruoyi.mall.common.domain.DtsBrand;
import com.ruoyi.mall.common.mapper.DtsBrandMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DtsBrandServiceImpl implements DtsBrandService {

    @Autowired
    private DtsBrandMapper dtsBrandMapper;

    @Override
    public List<DtsBrand> selectAll() {
        return dtsBrandMapper.selectDtsBrandList(null);
    }

    @Override
    public DtsBrand selectDtsBrandById(Long id) {
        return dtsBrandMapper.selectDtsBrandById(id);
    }
}
